package com.atguigu.springcloud.alibaba.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author xiangdd
 * @since 2021/12/27
 */
@Mapper
public interface AccountDao {

     void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
